package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import yf.mall.entity.AppMaterialEntity;
import yf.mall.vo.AppMaterialVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 素材信息表Dao
 *
 *
 *
 * @date Tue Jul 18 14:30:26 CST 2023
 */
@Mapper
public interface AppMaterialDao extends BaseDao<AppMaterialEntity> {

    List<AppMaterialVo> findVo(AppMaterialVo vo);

    AppMaterialVo getVo(Long id);

    @Select("select id,title from  app_material")
    List<AppMaterialEntity> findAll();
}
